package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:17
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysRoleRelateDAO extends IDataAccessInterface<SysRoleRelate, SysRoleRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_ROLE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_ROLE_RELATE.ID";

    /**
     * Mapped Field RELATED_SYS_ROLE_ID
    */
    static final String RelatedSysRoleId = "SYS_ROLE_RELATE.RELATED_SYS_ROLE_ID";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_ROLE_RELATE.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_ROLE_RELATE.STATUS";

    /**
     * Mapped Field SYS_ROLE_GROUP_ID
    */
    static final String SysRoleGroupId = "SYS_ROLE_RELATE.SYS_ROLE_GROUP_ID";

    /**
     * Mapped Field RELATED_SYS_ROLE_CODE
    */
    static final String RelatedSysRoleCode = "SYS_ROLE_RELATE.RELATED_SYS_ROLE_CODE";

    /**
     * Mapped Attribute sysRoleName
    */
    static final String SysRoleName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysRoleDAO.RoleName,
            com.ourteam.system.dao.ISysRoleDAO.EntityName + ".", "sysRoleA.");

    /**
     * Mapped Attribute sysRoleCode
    */
    static final String SysRoleCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysRoleDAO.RoleCode,
            com.ourteam.system.dao.ISysRoleDAO.EntityName + ".", "sysRoleA.");

    /**
     * Mapped Attribute sysRoleType
    */
    static final String SysRoleType = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysRoleDAO.RoleType,
            com.ourteam.system.dao.ISysRoleDAO.EntityName + ".", "sysRoleA.");

    /**
     * Mapped Attribute sysRoleDomainId
    */
    static final String SysRoleDomainId = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysRoleDAO.DomainId,
            com.ourteam.system.dao.ISysRoleDAO.EntityName + ".", "sysRoleA.");

    /**
     * Mapped Attribute sysDomainCode
    */
    static final String SysDomainCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDomainDAO.DomainCode,
            com.ourteam.system.dao.ISysDomainDAO.EntityName + ".", "sysDomianA.");

    /**
     * Mapped Attribute sysDomainName
    */
    static final String SysDomainName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDomainDAO.DomainName,
            com.ourteam.system.dao.ISysDomainDAO.EntityName + ".", "sysDomianA.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysRoleRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute relatedSysRoleId
         */
        static final String RelatedSysRoleId = "relatedSysRoleId";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute sysRoleGroupId
         */
        static final String SysRoleGroupId = "sysRoleGroupId";

        /**
         * Attribute relatedSysRoleCode
         */
        static final String RelatedSysRoleCode = "relatedSysRoleCode";

        /**
         * Attribute sysRoleName
         */
        static final String SysRoleName = "sysRoleName";

        /**
         * Attribute sysRoleCode
         */
        static final String SysRoleCode = "sysRoleCode";

        /**
         * Attribute sysRoleType
         */
        static final String SysRoleType = "sysRoleType";

        /**
         * Attribute sysRoleDomainId
         */
        static final String SysRoleDomainId = "sysRoleDomainId";

        /**
         * Attribute sysDomainName
         */
        static final String SysDomainName = "sysDomainName";

        /**
         * Attribute sysDomainCode
         */
        static final String SysDomainCode = "sysDomainCode";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
